#ifndef __SWEI_LOCATION_H
#define __SWEI_LOCATION_H

#include <stdint.h>
#include "service/include/swei_package.h"


#ifdef __cplusplus
extern "C" {
#endif


typedef struct {
    uint32_t gps_count;
    uint32_t lbs_count;
    uint32_t wifi_count;
}loc_record_t;

int32_t swei_location_pop(common_msg_st *msg);
int32_t swei_location_push_gps(void);
int32_t swei_location_push_corner_gps(void);
int32_t swei_location_push_wifi(void);
int32_t swei_location_push_lbs(void);
bool    swei_location_queue_is_empty(void);
uint32_t swei_location_queue_size(void);
loc_record_t *swei_location_get_record(void);
void swei_location_set_force_report(uint8_t f_type);

#ifdef __cplusplus
}
#endif

#endif // __SWEI_LOCATION_H